<div class="admin">
    <div class="tab panel dux-box admin-panel">
    <div class="panel-head"><strong>日志列表</strong></div>
    <div class="padding border-bottom">
        <a href="JavaScript:void(0);" class="current"><span>管理</span></a>
    </div>

    <form name="myform" id="myform" action="" method="post">
        <table class="table table-hover">
            <thead>
                <tr>
                    <th class="align-center">编号</th>
                    <th class="align-center">操作人员</th>
                    <th class="align-center">动作</th>
                    <th class="align-center">操作内容</th>
                    <th class="align-center">操作时间</th>
                    <th class="align-center">操作IP</th>
                    <th class="align-center">操作</th>
                </tr>
            </thead>
            <tbody>
            <foreach item="v" name="list">
                <tr>
                    <td class="align-center">{$v['id']}</td>
                    <td class="align-center">{$v['author']}</td>
                    <td class="align-center">{$v['action']}</td>
                    <td class="nowrap align-center">{$v['content']}</td>
                    <td class="nowrap align-center">{:date('Y-m-d H:i:s',$v['datetime'])}</td>
                    <td class="nowrap align-center">{$v['ip']}</td>
                    <td class="w144 align-center">
                        <a class="js-del" href="javascript:;" data="{$v['id']}" title="删除">删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
            <tfoot class="panel-foot">
                <tr>
                    <td colspan="15"><div class="pages clearfix">{$pages}</div></td>
                </tr>
            </tfoot>
        </table>
    </form>
    </div>
</div>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "delLogs",
        deleteUrl: "delLog",
    });
</script>